<?php
	$mode=$_GET['mode'];
	$obj=new Feedback();
	$obj->FeedbackID=$_POST['FeedbackID'];
	
	//print_r($_POST['Place']);
	
	if($mode=="add")
	{
		$obj->insert($conn);
	}
	if($mode=="update")
	{
		$obj->update($conn);
	}
	if($mode=="del")
	{
		$obj->FeedbackID=$id;
		$obj->delete($conn);
	}
	$url="?module=$module";
	echo "<script language='JavaScript'> window.location = '".$url."'</script>";
?>